﻿// ===============================================================================
// Project Name        :    Gfw.Web.Models.SystemUser
// Project Description :    
// ===============================================================================
// Class Name          :    NewUserModel
// Namespace:          :    Gfw.Web.Models.SystemUser
// Class Version       :    v1.0.0.0
// Class Description   :    
// CLR Version:        :    4.0.30319.17626
//Author               :    lif
// Machine             :    ADICO-PC
// Create Time         :    2012/9/9 16:05:04
// Update Time         :    2012/9/9 16:05:04
// ===============================================================================
// Copyright © lif 2012 . All rights reserved.
// ===============================================================================

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Gfw.Web.Models.SystemUser
{
  public  class NewUserModel
    {
       [Display(Name = "用户角色")]
      public List<UserRoleModel> UserRoles { get; set; }

      public string Departmentid { get; set; }

      public string Id { get; set; }

      [Display(Name="帐户状态")]
      public Int32 IsLock { get; set; }

      [Display(Name = "用户名")]
      [Required]
      public string LoginName { get; set; }

      [Display(Name = "密码")]
      [Required]
      public string Password { get; set; }

      [Display(Name = "二级密码")]
      [Required]
      public string SecondPassword { get; set; }

      [Display(Name = "姓名")]
      public string Name { get; set; }

      [Display(Name = "电话")]
      public string Tel { get; set; }

      [Display(Name = "地址")]
      public string Address { get; set; }

      [Display(Name = "QQ帐号")]
      public string Qq { get; set; }

      [Display(Name = "电子邮件")]
      public string Email { get; set; }

      [Display(Name = "证件号码")]
      public string IdCard { get; set; }


    }
}
